<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="all" />
<meta name="author" content="{$TS_SOFT[info][email]}" />
<meta name="Copyright" content="{$TS_SOFT[info][name]}" />

<title>
<!--{if $ac=='index'}-->
{$TS_SITE[base][site_title]} - {$title}
<!--{else}-->
{$title} - {$TS_APP[options][appname]} - {$TS_SITE[base][site_title]}
<!--{/if}-->
</title>
<!--{if  $app=='group' && $ac=='index'}-->
<meta name="keywords" content="{$TS_SITE[base][site_key]}" /> 
<meta name="description" content="{$TS_SITE[base][site_desc]}" /> 
<!--{/if}-->

<link rel="shortcut icon" href="{$TS_PUB[img]}favicon.ico" />

<link type="text/css" rel="stylesheet" href="{$TS_APP[tpl][skin]}{$skin}/style.css" />

<!--公用CSS文件-->
<link type="text/css" rel="stylesheet" href="{$TS_PUB[css]}base.css" />

<!--公用的JS-->
<script src="data/js/jquery.js" type="text/javascript"></script>
<!--ymPrompt组件-->
<script type="text/javascript" src="data/js/ymPrompt/ymPrompt.js"></script>
<link href="data/js/ymPrompt/skin/simple/ymPrompt.css" rel="stylesheet" type="text/css" />
<!--ymPrompt组件-->

<!--thickbox-->
<script type="text/javascript" src="data/js/thickbox/thickbox.js"></script>
<link rel="stylesheet" href="data/js/thickbox/thickbox.css" type="text/css" media="screen"/>

<script src="{$TS_APP[tpl][js]}extend.func.js" type="text/javascript"></script>

</head>
<body>

<!--header-->
<div class="header">
<div class="head">
<div class="logo"><a href="index.php"><img src="{$TS_PUB[img]}logo.gif" alt="{$TS_SITE[base][site_title]}" /></a></div>

<div class="bigmenu">
<ul>
<li><a href="index.php">首页</a></li>
<!--{if $TS_USER[user] != ''}-->
<li><a href="index.php?app=group&ac=explore">发现</a></li>
<!--{/if}-->

{php doAction('pub_header_nav')}

</ul>
</div>

<!--{if $TS_USER[user] == ''}-->
{php doAction('pub_header_login')}
<!--{/if}-->

<div class="menu">
<!--{if $TS_USER[user] == ''}-->
<a href="index.php?app=user&ac=register"><img src="data/uploadfile/user/default/avatar_24.gif" width="24" align="absmiddle" /></a> 欢迎您
<br />
<a href="index.php?app=user&ac=login">登录</a> | <a href="index.php?app=user&ac=register">注册</a>
<!--{else}-->
<a href="index.php?app=user&ac=space&userid={$TS_USER[user][userid]}">
<img src="<!--{if $TS_USER[user][face]==""}-->data/uploadfile/user/default/avatar_24.gif<!--{else}-->{$TS_USER[user][face]}<!--{/if}-->" width="24" align="absmiddle" /> 
</a>
<a href="index.php?app=user&ac=space&userid={$TS_USER[user][userid]}">{$TS_USER[user][username]}</a>   |  <span id="newmsg"><a href="index.php?app=message&ac=my">消息盒子</a></span>
<br />
<a href="index.php?app=user&ac=set&ts=base">设置</a> | <a href="index.php?app=user&ac=invite">邀请码</a> <!--{if $TS_USER[user][isadmin]=='1'}-->|  <a href="index.php?app=system">系统管理</a>{/if}  | <a href="index.php?app=user&ac=login&ts=out">退出</a>
<!--{/if}-->
  | <a href="http://www.thinksaas.cn/group-50.html">捐助</a>
</div>
</div>
</div>